SmashBalloon\Reviews\Common\Feed D

Total Complexity 142
Dependencies 8
Dependents 5
Total lines 536
Lines of code 388
Logical lines of code 234
Comment lines 5
Methods 33
Properties 9

Methods 33

Method Rating Maintainability Complexity Lines of code
filter_posts()
D
31 57 74
api_request()
A
47 10 34
hydrate_sources()
A
50 10 30
update_posts_cache()
S
52 6 23
cache_single_posts_from_set()
S
57 4 16
get_post_set_page()
S
61 4 12
__construct()
S
55 3 21
get_set_cache()
S
56 3 18
sort_array_byrating_and_date()
S
64 4 9
posts_from_db()
S
59 3 14
update_header_cache()
S
60 3 13
add_source_to_post_set()
S
61 3 12
is_last_page()
S
62 3 11
init()
S
61 3 11
provider_for_provider_id()
S
67 3 8
get_db_lang()
S
68 2 7
sort_array_bydate()
S
69 2 6
sort_array_byrating()
S
69 2 6
get_remote_posts()
S
71 2 6
get_remote_header_data()
S
68 2 7
update_cache()
S
71 1 6
get_header_data()
S
82 1 3
set_header_data()
S
81 1 3
should_check_media()
S
82 1 3
get_posts()
S
82 1 3
set_posts()
S
81 1 3
get_feed_style()
S
82 1 3
get_feed_id()
S
82 1 3
add_error()
S
71 1 6
set_errors()
S
80 1 3
get_errors()
S
80 1 3
get_settings()
S
82 1 3
get_posts_for_moderation()
S
66 1 8